module.exports = {
    methods: {

        toBindingRecordView(){
            uni.navigateTo({
                url:'/pages/bindingRecord/BindingRecordView'
            })
        },
        //滚动到顶部时触发
        upper(e) {
            // console.log("顶部")
        },
        //滚动到底部触发
        lower: function (e) {
            // console.log("底部")
        },
        //滚动时触发
        scroll: function (e) {
            // console.log("滚动中");
            this.scrollView.old.scrollTop = e.detail.scrollTop
        },
    },
    onLoad() {
    },

    data() {
        return {
            scrollView: {
                scrollTop: 0,
                old: {
                    scrollTop: 0
                }
            },/* 滚动位置监控 */
            swiper: {
                indicatorDots: true,
                autoplay: true,
                interval: 5000,
                duration: 500,
                indColor: '#80FFFFFF',
                indActColor: '#FFFFFF'
            },/* 控制轮播图样式和行为 */

            //轮播图地址数组
            adImgs: ['https://fyiereguio-wisdom.oss-cn-hangzhou.aliyuncs.com/image/index-rotation-img/2.png',
                "https://fyiereguio-wisdom.oss-cn-hangzhou.aliyuncs.com/image/index-rotation-img/3.png"],
        }
    },
}
